// 并查集

const  peakCount = 7
const map = [[0,1],[1,2],[1,3],[2,5],[3,6],[4,5],[5,6]]
const parents = new Array(peakCount).fill(-1)

// 查找当前节点的父节点
function findRoot(char){
    let parent = -1
    
}

